local current = redis.call('GET', KEYS[1])
if current == false then
    return '-1'
end
local isDel = redis.call('DEL', KEYS[1])
if isDel == 1 then
     return '1';
else
     return '-1';
end